﻿ 

public class code075 {
	public static void main(String[] argse){
		int sum=2;
		for(int i=1;i<=10;i++){	
			do{
				System.out.println("2的第"+i+"次方="+sum);
			sum=sum*2;
		}while(sum==1024);
		}
	
	}
}